package chapter10.eg7;

import io.netty.channel.CombinedChannelDuplexHandler;

/**
 * 将单独的编码器和解码器进行联合的一种方式
 */
public class CombinedByteCharCodec extends CombinedChannelDuplexHandler<ByteToCharDecoder, CharToByteEncoder> {

  public CombinedByteCharCodec() {
    super(new ByteToCharDecoder(), new CharToByteEncoder());
  }
}
